SftTree/NET 2.0

BackColorSelected Property, ColumnClass Class

Softel vdm, Inc.

Defines the column's default background color for cells in the item area that are selected.

Syntax      ColumnClass Class (Softelvdm.SftTreeNET)

VB   

Public Property BackColorSelected As Color

C#   

public Color BackColorSelected { get; set; }

C++   

public: property Color BackColorSelected {
        Color get();
        void set(Color value);
}

Property Value

The default background color for cells in this column or Color.Empty.

The default value is Color.Empty.

Comments

The BackColorSelected property defines the column's default background color for cells in the item area that are selected.

Items and cells can override the background color using the ItemClass.BackColorSelected, RowHeaders.BackColorSelected and CellBaseClass.BackColorSelected properties.

If Color.Empty is specified, cells use the default color defined using the control's BackColorSelected property instead, row headers use the RowHeaders.BackColorSelected property.

Cells that are not selected use the colors defined using the BackColor property instead. If a selected cell uses a selection style (SelectionHighlightStyle property) that uses the ColumnClass.BackColorSelected property for only portions of the cell, the ColumnClass.BackColor property is used for the remainder of the cell.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com